
#include <CCApplication.h>
#include <CCEGLView.h>

#include "AppDelegate.h"

USING_NS_CC;

int main(int argc, char **argv)
{
	// create the application instance
	AppDelegate app;
	CCEGLView* eglView = CCEGLView::sharedOpenGLView();
	eglView->setViewName("Test");
	eglView->setFrameSize(720, 1280);

	CCApplication::sharedApplication()->setResourceRootPath("../../Resources");

#ifdef TIZEN
	CCApplication::sharedApplication()->setMainArgs(argc, argv); //For Tizen 2.4, we need these two arguments.
#endif
//    Application::getInstance()->setDeviceOrientation(APP_DEVICE_ORIENTATION_90);
	return CCApplication::sharedApplication()->run();
}
